FROM docker.io/alpine:latest
MAINTAINER jinquan jinquan7@foxmail.com
LABEL Description="SUPOR MSP Service 1.7  include prometheus default metrics."

RUN mkdir -p /mspsvc/assets
RUN mkdir -p /mspsvc/templates
ADD assets /mspsvc/assets
ADD templates /mspsvc/templates
ADD mspsvc /mspsvc

ADD entrypoint.sh /usr/sbin/
RUN chmod +x /usr/sbin/entrypoint.sh

EXPOSE 22
#VOLUME [ "/home/alpine" ]

ENTRYPOINT ["/usr/sbin/entrypoint.sh"]
